<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>css的三种书写方式</title>
    <link rel="stylesheet" href="style.css">
    <style>
        h1{
            color: red;
        }
        div{
            color: blue;
        }
        p{
            color: green;
        }
    </style>
</head>
<body>
    <h1>一级标题</h1>
    <div>我是一个div</div>
    <div style="color: purple;">我是一个div二号</div>
    <p>我是一个p标签</p>
</body>
</html>